package com.scs.application.modules.upgrade.db.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import lombok.Data;

import java.util.Date;

@Data
public class BaseEntity {
    @TableId(type = IdType.AUTO)
    //@EntityFieldAnnotation(type = EntityFieldType.LONG)
    public long id;

    @EntityFieldAnnotation(length = "30", text = "制单人", comment = "单据制作人的系统账户")
    public String creator;
    @EntityFieldAnnotation(text = "制单时间")
    public Date create_time;

    @TableField(exist = false)
    private String noPhysicalField1;
}
